namespace SimpleWebServices.Web
{
    using SimpleWebServices;
    using Xunit;

    public sealed class InternalServerErrorFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(new ObjectExpectations<InternalServerError>()
                .DerivesFrom<Resource>()
                .IsConcreteClass()
                .IsSealed()
                .HasDefaultConstructor()
                .XmlRoot("resource")
                .Result);
        }

        [Fact]
        public void ctor()
        {
            Assert.NotNull(new InternalServerError());
        }
    }
}